package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 参合缴费登记对象 pay
 * 
 * @author moweiyu
 * @date 2021-05-21
 */
public class Pay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long payId;

    /** 参合证号 */
    @Excel(name = "参合证号")
    private String ppId;

    /** 参合发票号 */
    @Excel(name = "参合发票号")
    private String ppNumber;

    /** 缴费金额 */
    @Excel(name = "缴费金额")
    private BigDecimal payAmount;

    /** 缴费年度 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "缴费年度", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payYear;

    /** 缴费时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "缴费时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 操作员 */
    @Excel(name = "操作员")
    private String ppPerson;

    /** 家庭编号 */
    @Excel(name = "家庭编号")
    private String fiNumber;

    public void setPayId(Long payId) 
    {
        this.payId = payId;
    }

    public Long getPayId() 
    {
        return payId;
    }
    public void setPpId(String ppId) 
    {
        this.ppId = ppId;
    }

    public String getPpId() 
    {
        return ppId;
    }
    public void setPpNumber(String ppNumber) 
    {
        this.ppNumber = ppNumber;
    }

    public String getPpNumber() 
    {
        return ppNumber;
    }
    public void setPayAmount(BigDecimal payAmount) 
    {
        this.payAmount = payAmount;
    }

    public BigDecimal getPayAmount() 
    {
        return payAmount;
    }
    public void setPayYear(Date payYear) 
    {
        this.payYear = payYear;
    }

    public Date getPayYear() 
    {
        return payYear;
    }
    public void setPayTime(Date payTime) 
    {
        this.payTime = payTime;
    }

    public Date getPayTime() 
    {
        return payTime;
    }
    public void setPpPerson(String ppPerson) 
    {
        this.ppPerson = ppPerson;
    }

    public String getPpPerson() 
    {
        return ppPerson;
    }
    public void setFiNumber(String fiNumber) 
    {
        this.fiNumber = fiNumber;
    }

    public String getFiNumber() 
    {
        return fiNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("payId", getPayId())
            .append("ppId", getPpId())
            .append("ppNumber", getPpNumber())
            .append("payAmount", getPayAmount())
            .append("payYear", getPayYear())
            .append("payTime", getPayTime())
            .append("ppPerson", getPpPerson())
            .append("fiNumber", getFiNumber())
            .toString();
    }
}
